package com.dura.test.mapper;

import com.dura.test.pojo.ClientBusiness;
import com.dura.test.pojo.ClientSign;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @version 1.0
 * @Author 振鹏
 * @Date 2025/3/15 18:02
 * @注释
 */
public interface ClientSignMapper {

    /**
     * 因为一个客户会绑定多个签名，基于这种情况，将之前考虑的hash结构存储，更改为set结构存储
     * @param clientId
     * @return
     */
    @Select("select * from client_sign where client_id = #{clientId}")
    List<ClientSign> findByClientId(@Param("clientId") Long clientId);
}
